#ifndef DEVICEMGT_H
#define DEVICEMGT_H

#include <QObject>
#include <QTcpSocket>
#include <QSqlQuery>
#include <QThread>
#include <QSqlError>

class DeviceMgt : public QObject {
    Q_OBJECT
public:
    DeviceMgt(const QString& dbPath, QObject *parent = nullptr);
    ~DeviceMgt();

signals:
    void onSendDeviceData(QString Device, QTcpSocket *socket);

public slots:
    void onGetDeviceData(QTcpSocket *socket);

private:
    QString m_dbPath;
};

#endif // DEVICEMGT_H
